package auctionsimulation.communication.command;

import java.util.HashMap;

import auctionsimulation.agent.Agent;

public class SearchAuctionsCommand extends Command {

	private static final long serialVersionUID = -2263708392250343190L;

	private String auctionType;
	private Agent initiator;
	private double minPrice, maxPrice;
	private HashMap<String, Long> requireTemplate;

	public SearchAuctionsCommand(String auctionType, Agent initiator,
			double minPrice, double maxPrice,
			HashMap<String, Long> requireTemplate) {
		this.auctionType = auctionType;
		this.initiator = initiator;
		this.minPrice = minPrice;
		this.maxPrice = maxPrice;
		this.requireTemplate = requireTemplate;
	}

	public String getAuctionType() {
		return this.auctionType;
	}

	public Agent getInitiator() {
		return initiator;
	}

	public double getMinPrice() {
		return minPrice;
	}

	public double getMaxPrice() {
		return maxPrice;
	}

	public HashMap<String, Long> getRequireTemplate() {
		return requireTemplate;
	}
}
